package domain.users;

public class Member extends Guest{

	private String _username;
	
	private String _Email;

	private int _salt;


	public Member(String username,String email) {
		super();
		this._username = username;
		this._Email = email;
		this._salt = (int)((Math.random())*10000) + 1 ;
		setRank(1);
	}

	public String getEmail() {
		return _Email;
	}

	public void setEmail(String newEmail) {
		_Email = newEmail;
	}

	/**
	 *
	 * @return
	 */
	public String getUserName(){
		return this._username;
	}

	/**
	 *
	 * @return
	 */
	public int getSalt(){
		return this._salt;
	}

	/**
	 * @param _salt the _salt to set
	 */
	public void setSalt(int _salt) {
		this._salt = _salt;
	}

}
